#include "SparkEditorToolBarHelp.h"


SparkEditorToolBarHelp::SparkEditorToolBarHelp()
{

}

SparkEditorToolBarHelp::SparkEditorToolBarHelp(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
	: SparkEditorToolBar(parent, id, pos, size, style)
{
	SetToolBitmapSize(wxSize(32, 32));

	wxBitmap HelpBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/help.png"));
	AddTool(IDTOOLBAR_HELP_HELP, wxT("Help"), HelpBitmap);

	wxBitmap AboutBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/about.png"));
	AddTool(IDTOOLBAR_HELP_ABOUT, wxT("About"), AboutBitmap);

	Realize();
}

SparkEditorToolBarHelp::~SparkEditorToolBarHelp()
{

}

void SparkEditorToolBarHelp::ConnectEvent(void)
{
	Connect(IDTOOLBAR_HELP_HELP, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorToolBarHelp::OnToolBarHelp));
	Connect(IDTOOLBAR_HELP_ABOUT, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorToolBarHelp::OnToolBarAbout));
}

void SparkEditorToolBarHelp::OnToolBarHelp(wxCommandEvent& event)
{

}

void SparkEditorToolBarHelp::OnToolBarAbout(wxCommandEvent& event)
{

}
